package com.foreknow.demo6;

public class ExceptionDemo1 {
    public static void main(String[] args) {
        try {
            int[] array = {1,2,3};
            for(int i = 0;i<=array.length;i++){
                System.out.println(array[i]);
            }
        }catch(Exception e) {
            System.out.println("出错了......");
        }
        System.out.println("11111111111111111111111111111");
    }
}
